<div id="categoryDiv">
	<span>类别：</span>
	<div>
		<a href="${ctx}/PublishInfo/list.do?cityId=${query.cityId}" style="font-weight:bold;color:#000000">全部</a>
		
	   		&nbsp;&nbsp;<a id="category_1" href="${ctx}/PublishInfo/list.do?categoryId=1&cityId=${query.cityId}">泥水工</a>	
	   		&nbsp;&nbsp;<a id="category_2" href="${ctx}/PublishInfo/list.do?categoryId=2&cityId=${query.cityId}">刮腻子</a>	
	   		&nbsp;&nbsp;<a id="category_3" href="${ctx}/PublishInfo/list.do?categoryId=3&cityId=${query.cityId}">防水</a>	
	   		&nbsp;&nbsp;<a id="category_4" href="${ctx}/PublishInfo/list.do?categoryId=4&cityId=${query.cityId}">贴砖</a>	
	   		&nbsp;&nbsp;<a id="category_5" href="${ctx}/PublishInfo/list.do?categoryId=5&cityId=${query.cityId}">敲墙</a>	
	   		&nbsp;&nbsp;<a id="category_6" href="${ctx}/PublishInfo/list.do?categoryId=6&cityId=${query.cityId}">打孔</a>	
	   		&nbsp;&nbsp;<a id="category_7" href="${ctx}/PublishInfo/list.do?categoryId=7&cityId=${query.cityId}">吊顶</a>	
	   		&nbsp;&nbsp;<a id="category_8" href="${ctx}/PublishInfo/list.do?categoryId=8&cityId=${query.cityId}">油漆</a>	
	   		&nbsp;&nbsp;<a id="category_9" href="${ctx}/PublishInfo/list.do?categoryId=9&cityId=${query.cityId}">水电</a>	
	   		&nbsp;&nbsp;<a id="category_10" href="${ctx}/PublishInfo/list.do?categoryId=10&cityId=${query.cityId}">木工</a>	
	</div>
	<div style="height:2px;line-height:2px;width:724px;" ></div>
	<span>区域：</span>
	<div>
		<a  href="${ctx}/PublishInfo/list.do?categoryId=${query.categoryId}" style="font-weight:bold;color:#000000">全部</a>&nbsp;&nbsp;
		
	   		<a id="city_1373" href="${ctx}/PublishInfo/list.do?cityId=1373&categoryId=${query.categoryId}">市辖区</a>&nbsp;&nbsp;
	   		<a id="city_1374" href="${ctx}/PublishInfo/list.do?cityId=1374&categoryId=${query.categoryId}">锦江区</a>&nbsp;&nbsp;
	   		<a id="city_1375" href="${ctx}/PublishInfo/list.do?cityId=1375&categoryId=${query.categoryId}">青羊区</a>&nbsp;&nbsp;
	   		<a id="city_1376" href="${ctx}/PublishInfo/list.do?cityId=1376&categoryId=${query.categoryId}">金牛区</a>&nbsp;&nbsp;
	   		<a id="city_1377" href="${ctx}/PublishInfo/list.do?cityId=1377&categoryId=${query.categoryId}">武侯区</a>&nbsp;&nbsp;
	   		<a id="city_1378" href="${ctx}/PublishInfo/list.do?cityId=1378&categoryId=${query.categoryId}">成华区</a>&nbsp;&nbsp;
	   		<a id="city_1379" href="${ctx}/PublishInfo/list.do?cityId=1379&categoryId=${query.categoryId}">龙泉驿区</a>&nbsp;&nbsp;
	   		<a id="city_1380" href="${ctx}/PublishInfo/list.do?cityId=1380&categoryId=${query.categoryId}">青白江区</a>&nbsp;&nbsp;
	   		<a id="city_1381" href="${ctx}/PublishInfo/list.do?cityId=1381&categoryId=${query.categoryId}">新都区</a>&nbsp;&nbsp;
	   		<a id="city_1382" href="${ctx}/PublishInfo/list.do?cityId=1382&categoryId=${query.categoryId}">金堂县</a>&nbsp;&nbsp;
	   		<a id="city_1383" href="${ctx}/PublishInfo/list.do?cityId=1383&categoryId=${query.categoryId}">双流县</a>&nbsp;&nbsp;
	   		<a id="city_1384" href="${ctx}/PublishInfo/list.do?cityId=1384&categoryId=${query.categoryId}">温江县</a>&nbsp;&nbsp;
	   		<a id="city_1385" href="${ctx}/PublishInfo/list.do?cityId=1385&categoryId=${query.categoryId}">郫县</a>&nbsp;&nbsp;
	   		<a id="city_1386" href="${ctx}/PublishInfo/list.do?cityId=1386&categoryId=${query.categoryId}">大邑县</a>&nbsp;&nbsp;
	   		<a id="city_1387" href="${ctx}/PublishInfo/list.do?cityId=1387&categoryId=${query.categoryId}">蒲江县</a>&nbsp;&nbsp;
	   		<a id="city_1388" href="${ctx}/PublishInfo/list.do?cityId=1388&categoryId=${query.categoryId}">新津县</a>&nbsp;&nbsp;
	   		<a id="city_1389" href="${ctx}/PublishInfo/list.do?cityId=1389&categoryId=${query.categoryId}">都江堰市</a>&nbsp;&nbsp;
	   		<a id="city_1390" href="${ctx}/PublishInfo/list.do?cityId=1390&categoryId=${query.categoryId}">彭州市</a>&nbsp;&nbsp;
	   		<a id="city_1391" href="${ctx}/PublishInfo/list.do?cityId=1391&categoryId=${query.categoryId}">邛崃市</a>&nbsp;&nbsp;
	   		<a id="city_1392" href="${ctx}/PublishInfo/list.do?cityId=1392&categoryId=${query.categoryId}">崇州市</a>&nbsp;&nbsp;
	</div>
  </div>
  <script>
  	if('${query.categoryId}'!=''){
  		document.getElementById("category_${query.categoryId}").style.color='red';
  		document.getElementById("category_${query.categoryId}").style.fontWeight='bold';
  	}
  	if('${query.cityId}'!=''){
  		document.getElementById("city_${query.cityId}").style.color='red';
  		document.getElementById("city_${query.cityId}").style.fontWeight='bold';
  	}
  </script>